package com.codi.bus.core.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.codi.base.domain.BaseDomain;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 亲，写个类注释呗
 * @author asus
 * @date 2018-03-13 11:16
 */
@Builder
@Accessors(chain = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OneWallet extends BaseDomain {
    private Long owOneWalletId;

    private Long owWalletAssetsId;

    private String owFundCode;

    private String owFundName;

    private BigDecimal owFundZeroShare;

    private BigDecimal owFundCurrentShare;

    private BigDecimal owFundEnableShare;

    private BigDecimal owFundWorthValue;

    private BigDecimal owFundTodayIncomeRecord;

    private BigDecimal owFundTodayIncome;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date owNetValueDate;

    private BigDecimal owNetValue;

    private BigDecimal owLastdayNetValue;

    private BigDecimal owDailyProfit;

    private String owAssetType;

    private String owCapitalMode;

    private BigDecimal owAccumIncome;

    private BigDecimal owUnpaidIncome;

    private BigDecimal owShareIncome;

    private String owTradeAccount;

    private String owDividendsWord;

    private BigDecimal owFundCost;

    private Boolean owAutoBuy;

    private String owBankNo;

    private String owBankName;

    private String owBankCode;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date owEffectTime;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date owCreateDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date owUpdateDate;

    private static final long serialVersionUID = 1L;
}